package com.supemarket.entity;

import java.util.Date;

public class commodity {

	private String cid;//商品编号
	private String cname;//名称
	private int cprice;//价格
	private String cbarcode;//条形码
	private int sid;//供货商id
	private int cstock;//库存数量
	private Date ccreationtime;//创建时间
	private Date modificationtime;//修改时间
	private String modifier;//修改人
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public int getCprice() {
		return cprice;
	}
	public void setCprice(int cprice) {
		this.cprice = cprice;
	}
	public String getCbarcode() {
		return cbarcode;
	}
	public void setCbarcode(String cbarcode) {
		this.cbarcode = cbarcode;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public int getCstock() {
		return cstock;
	}
	public void setCstock(int cstock) {
		this.cstock = cstock;
	}
	public Date getCcreationtime() {
		return ccreationtime;
	}
	public void setCcreationtime(Date ccreationtime) {
		this.ccreationtime = ccreationtime;
	}
	public Date getModificationtime() {
		return modificationtime;
	}
	public void setModificationtime(Date modificationtime) {
		this.modificationtime = modificationtime;
	}
	public String getModifier() {
		return modifier;
	}
	public void setModifier(String modifier) {
		this.modifier = modifier;
	}
	public commodity(String cid, String cname, int cprice, String cbarcode,
			int sid, int cstock, Date ccreationtime, Date modificationtime,
			String modifier) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.cprice = cprice;
		this.cbarcode = cbarcode;
		this.sid = sid;
		this.cstock = cstock;
		this.ccreationtime = ccreationtime;
		this.modificationtime = modificationtime;
		this.modifier = modifier;
	}
	public commodity() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
